/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.groupb.circus.impl_interfaces;

import com.groupb.circus.interfaces.GenericMessage;

/**
 *
 * @author bhavna
 */
public class GMessage implements GenericMessage {
    
    String from;
    String to;
    Object type_object;
    
    public GMessage(String from, String to, Object type_object){
        this.from =from;
        this.to=to;
        this.type_object= type_object;
    }
    

    @Override
    public String getFrom() {
        return from;
    }

    @Override
    public String getTo() {
        return to;
    }

    @Override
    public Object object() {
        return type_object;
    }
    
 
}